﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;

namespace Servidor
{
    class Cliente
    {
        private IPAddress ip;

        public IPAddress Ip
        {
            get { return ip; }
            set { ip = value; }
        }
        private int puerto;

        public int Puerto
        {
            get { return puerto; }
            set { puerto = value; }
        }

        public Cliente(string ipCliente, int numPuerto)
        {
            ip = IPAddress.Parse(ipCliente);
            puerto = numPuerto;
        }
    }
}
